< previous page page_782 next page >

Page 782
A ring topology is similar to a linear topology, except, the reverse track is not performed. In this scenario, replica A synchronizes with B, B synchronizes with C, and then C synchronizes with D. Replica D then restarts the process by synchronizing with A, and then A synchronizes with B, and so on.
The linear and ring topologies are good in that they do not have a single point of failure. They are bad in that the synchronization can be stopped, or delayed if one member goes down. Also, the transfer to other members of the replica set is slower. In a linear topology, a change to C would have to go first to D, then back to C, and then to B before it is sent to A. This is a total of four synchronizations.
The fourth topology that can be used in a replicated database structure is referred to as the fully connected topology. In this scenario, replica A synchronizes directly with B, C, and D; replica B synchronizes directly with A, C, and D; replica C synchronizes directly with A, B, and D; and D synchronizes directly with A, B, and C. This topology requires the greatest amount of work, and should be used in applications that require constant availability of data.
Note.gif
You might want to reconsider the use of database replication in your application if you are using the fully connected topology to guarantee data availability. Web-enabled applications with centralized data may be a better solution.

The topology you ultimately choose for your application depends on the timeline requirement of data. If this is unknown, start with the star topology and make changes as necessary.
Keeping Database Elements from Replicating
There might be some data tables that you do not want to replicate to other members of a replica set. This might be the case with data that is highly sensitive in nature, or data that is of little value to other replicas. For example, you might want to replicate general employee information to remote offices of your organization, but you might not want to distribute payroll information outside of the main office. Or, you might not want to replicate a table of office supply vendors used by your California office to your office in Vermont.
In the following example we create the KeepLocal property for the Authors table of a new database named KEEPLOC.MDB. This file can be found in the \\TYSDBVB5\SOURCE\DATA directory on the CD that shipped with this text. We then convert this database into a Design Master and make a replica named COPYKL.MDB. This replica does not have the Authors table as part of its object collection.

 
< previous page page_782 next page >

If you like this book, buy it!